package net.betou.cms.entity.main.base;

import java.io.Serializable;

import net.betou.cms.entity.main.CmsModel;

/**
 * This is an object that contains data related to the bt_channel table. Do not
 * modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 * 
 * @hibernate.class table="bt_channel"
 */

public abstract class BaseChannelModel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7349715101663317289L;
	public static String REF = "ChannelModel";
	public static String PROP_TPLCONTENT = "tplContent";

	// constructors
	public BaseChannelModel( ) {
		initialize( );
	}

	/**
	 * Constructor for required fields
	 */

	protected void initialize( ) {
	}

	public BaseChannelModel( String tplContent, CmsModel model ) {
		super( );
		this.tplContent = tplContent;
		this.model = model;
	}

	// fields
	private java.lang.String tplContent;
	private CmsModel model;

	public java.lang.String getTplContent( ) {
		return tplContent;
	}

	public void setTplContent( java.lang.String tplContent ) {
		this.tplContent = tplContent;
	}

	public CmsModel getModel( ) {
		return model;
	}

	public void setModel( CmsModel model ) {
		this.model = model;
	}

	public String toString( ) {
		return super.toString( );
	}

}